package com.hnucm.c202001020216.api;

import com.hnucm.c202001020216.pojo.Login;

import okhttp3.RequestBody;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.Headers;
import retrofit2.http.POST;

public interface LoginApi {

    //验证用户登录
    @Headers({"Content-Type: application/json","Accept: application/json"})
    @POST("app/login")
    Call<Login> validateUserLogin(@Body RequestBody comment);
}
